package xuanzhen.reservation.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 管理员
 * @author Administrator
 *
 */
public class RedPacket implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -360487925527294151L;
	/**
	 * id
	 */
	private int id;
	/**
	 * rid
	 */
	private int rid;
	/**
	 * 红包名
	 */
	private String name;
	/**
	 * 红包联系手机号
	 */
	private String unique;
	
	/**
	 * 金额
	 */
	private double count;
	/**
	 * 红包有效开始时间
	 */
	private String begin;
	/**
	 * 红包有效时间 天
	 */
	private int expiry ;
	/**
	 * 红包请求有效开始时间 
	 */
	private int iat ;
	/**
	 * 红包请求有效终止时间 
	 */
	private int exp ;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 删除标记
	 */
	private int deleteState;
	
	
	
	
	public int getRid() {
		return rid;
	}
	public void setRid(int rid) {
		this.rid = rid;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUnique() {
		return unique;
	}
	public void setUnique(String unique) {
		this.unique = unique;
	}
	public double getCount() {
		return count;
	}
	public void setCount(double count) {
		this.count = count;
	}
	public String getBegin() {
		return begin;
	}
	public void setBegin(String begin) {
		this.begin = begin;
	}
	public int getExpiry() {
		return expiry;
	}
	public void setExpiry(int expiry) {
		this.expiry = expiry;
	}
	public int getIat() {
		return iat;
	}
	public void setIat(int iat) {
		this.iat = iat;
	}
	public int getExp() {
		return exp;
	}
	public void setExp(int exp) {
		this.exp = exp;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public int getDeleteState() {
		return deleteState;
	}
	public void setDeleteState(int deleteState) {
		this.deleteState = deleteState;
	}
	public RedPacket() {
		super();
	}
	public RedPacket(int id, int rid, String name, String unique, double count, String begin, int expiry, int iat,
			int exp, Date createTime, int deleteState) {
		super();
		this.id = id;
		this.rid = rid;
		this.name = name;
		this.unique = unique;
		this.count = count;
		this.begin = begin;
		this.expiry = expiry;
		this.iat = iat;
		this.exp = exp;
		this.createTime = createTime;
		this.deleteState = deleteState;
	}
	
	
	
	
	
	
}
